﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace UIFrameWork
{
    public class UIMain : MonoBehaviour
    {
        private void Awake()
        {
            //UIModule.Ins.Init();
        }

        private void Start()
        {
            //var loginWindow = UIModule.Ins.PopUpWindow<LoginWindow>();
            //loginWindow.Test();
        }

        private void Update()
        {
            //if (Input.GetKeyDown(KeyCode.Q))
            //{
            //    UIModule.Ins.PopUpWindow<LoginWindow>();
            //}

            //if (Input.GetKeyDown(KeyCode.W))
            //{
            //    UIModule.Ins.PopUpWindow<AccountWindow>();
            //}

            //if (Input.GetKeyDown(KeyCode.E))
            //{
            //    UIModule.Ins.PopUpWindow<SignupWindow>();
            //}

            //if (Input.GetKeyDown(KeyCode.A))
            //{
            //    UIModule.Ins.HideWindow<AccountWindow>();
            //}

            //if (Input.GetKeyDown(KeyCode.S))
            //{
            //    UIModule.Ins.HideWindow<SignupWindow>();
            //}
        }
    }
}
